Hi,
I am a beginner of C who is currently using The C Programming Language to self-study.
However I am confused by one little problem:
When I putinside theCode:printf, it gives the output of every single loop,Code:while{}
However, since I want only the final answer and thus try to put the printf out of {}, which is after while, nothing shows then.
This one with nothing shown is copied directly from the book so I really wonder what's wrong, and how exactly should I modify it to make it output the total number of lines?
Thank you!